package Homework1;

/**
 *
 * @author Jakim
 */
public class Student {

    private float mArithmeticalMean;
    private String mName;
    private String mFacultyNumber;
    private String mUniversitySubject;

    public Student(String aName) {
        this.mName = aName;
    }

    public float getArithmeticalMean() {
        return mArithmeticalMean;
    }

    public void setArithmeticalMean(float mArithmeticalMean) {
        this.mArithmeticalMean = mArithmeticalMean;
    }

    public String getFacultyNumber() {
        return mFacultyNumber;
    }

    public void setFacultyNumber(String mFacultyNumber) {
        this.mFacultyNumber = mFacultyNumber;
    }

    public String getUniversitySubject() {
        return mUniversitySubject;
    }

    public void setUniversitySubject(String mUniversitySubject) {
        this.mUniversitySubject = mUniversitySubject;
    }

    public String getName() {
        return mName;
    }

    @Override
    public String toString(){
        String tmpStudentInfo;

        tmpStudentInfo = "\nName: " + this.getName() +
                         "\nFaculty Number: " + this.getFacultyNumber() +
                         "\nUniversity Subject: " + this.getUniversitySubject() +
                         "\nArithmetical Mean: " + this.getArithmeticalMean();

        return tmpStudentInfo;
    }
}
